package com.shanzmoo.db.order.service.impl;

import com.shanzmoo.db.order.entity.OutletOrderLogEntity;
import com.shanzmoo.db.order.entity.vo.OutletOrderLogVo;
import com.shanzmoo.db.order.mapper.OutletOrderLogMapper;
import com.shanzmoo.db.order.service.IOutletOrderLogService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 门店订单操作日志 服务实现类
 * </p>
 *
 * @author Gzhao
 * @since 2021-01-13
 */
@Service
public class OutletOrderLogServiceImpl extends ServiceImpl<OutletOrderLogMapper, OutletOrderLogEntity>
        implements IOutletOrderLogService {

    @Override
    public List<OutletOrderLogVo> queryListByOrderId(Integer orderId, Integer outletId) {
        return baseMapper.queryListByOrderId(orderId, outletId);
    }
}
